export const tableOption = {
  border: true,
  stripe: true,
  menuAlign: 'center',
  index: true,
  indexLabel: '序号',
  align: 'left',
  searchMenuSpan: 6,
  labelWidth: '160',
  indexWidth: '60',
  columnBtn: false,
  searchLabelWidth: 'auto',
  searchMenuPosition: 'left',
  searchEnter:true,
  // 树形配置
  rowKey: 'id',
  rowParentKey: 'parentId',
  selection: true,
  column: [
    {
      type: 'input',
      label: '分类名称',
      prop: 'name',
      overHidden: true,
      search: true,
      rules: [
        {
          required: true,
          message: '请输入分类名称',
          trigger: 'blur'
        }
      ]
    }
  ]
}
